package com.lzw.security.entity;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-29 20:16
 * @description：秒杀商品
 * @modified By：
 * @version:
 */
@Data
@Component
@Scope(value = "prototype")
@Accessors(chain = true) //这个注解可以使这个类的set方法返回当前对象
public class Seckill implements Serializable,Parent{
    private Integer id;
    private Integer number;
    private String start;//开始时间 YYYY-MM-DD HH:MM:SS
    private BigDecimal discount_price;
    private String describe;//介绍
    private Integer commodity_seckill_id;
    private Commodity commodity;
}
